<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%> 
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%
StringBuffer url = request.getRequestURL(); 
String basePath = url.delete(url.length() - request.getRequestURI().length(), url.length()).append(request.getContextPath()+"/").toString();

/* url = request.getRequestURL();
String serverPath = url.delete(url.length() - request.getRequestURI().length(), url.length()).toString(); */
String serverPath = "http://ftp.zhjr100.com/"; 
String printPath = "http://127.0.0.1:8000";
String time = System.currentTimeMillis() + "";
%>
<c:set var="static_path" value="<%=basePath%>" />
<c:set var="context_path" value="<%=basePath%>" />
<c:set var="file_path" value="<%=serverPath%>" />
<c:set var="time" value="<%=time%>" />
